﻿namespace HRM.CORE
{
    using APP.HELPER.Utils.Language;
    using DevExpress.XtraEditors;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms; using Common;

    public class xfmBalanceSheet : XtraForm
    {
        private IContainer components = null;

        public event PayEventHander PayEvented;

        public xfmBalanceSheet()
        {
            this.InitializeComponent();
            this.Text = MultiLanguages.GetString("tbl_Salary", "Payroll", this.Text);
            base.Load += new EventHandler(this.xfmSalary_Load);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x350, 0x22b);
            base.Name = "xfmBalanceSheet";
            this.Text = "Quyết To\x00e1n Thuế TNCN";
            base.ResumeLayout(false);
        }

        private void RaisePayEventHander()
        {
            if (this.PayEvented != null)
            {
                this.PayEvented(this);
            }
        }

        private void xfmSalary_Load(object sender, EventArgs e)
        {
            xucBalanceSheet sheet = new xucBalanceSheet {
                Dock = DockStyle.Fill
            };
            base.Controls.Add(sheet);
        }

        public delegate void PayEventHander(object sender);
    }
}

